Skip to main content

securekeyCreate

Type

handler

Summary

Creates a securekey in protected storage

Syntax

securekeyCreate(<pIdentifier>)

Description

Once created the securekey may be used to encrypt and decrypt data. An asymmetric key pair is created and stored securely on the keychain on iOS and macOS and in the Android key store.

*NOTE
  • The Secure Key Storage library uses APIs available on iOS 10.0+, macOS 10.12+ and Android 4.3.

Parameters

NameTypeDescription

pIdentifier

A string used to identify the securekey.

Examples

securekeyCreate "foo"

Compatibility and Support

OS

mac

ios

android

Platforms

desktop

mobile